package cn.village.dao;
import cn.village.entity.LabourContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LabourContractMapper {

	public LabourContract getLabourContractById(@Param(value = "id") String id)throws Exception;

	public List<LabourContract>	getLabourContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getLabourContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertLabourContract(LabourContract labourContract)throws Exception;

	public Integer updateLabourContract(LabourContract labourContract)throws Exception;

	public Integer deleteLabourContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteLabourContract(Map<String,List<String>> params);

}